using System;
using System.Collections.Generic;

namespace ConsoleApplication2.Models
{
    public partial class Salesman
    {
        public Salesman()
        {
            this.Custs = new List<Cust>();
            this.Ps = new List<P>();
        }

        public string SALESMAN1 { get; set; }
        public string REGION { get; set; }
        public short ID { get; set; }
        public string File_Primary_Key { get; set; }
        public string Symbol { get; set; }
        public Nullable<byte> SL_Gender { get; set; }
        public Nullable<System.DateTime> SL_BirthDate { get; set; }
        public Nullable<short> SL_Nationality { get; set; }
        public string SL_Email { get; set; }
        public string SL_HomePhone { get; set; }
        public string SL_BusinessPhone { get; set; }
        public string SL_Mobile { get; set; }
        public Nullable<int> SL_User { get; set; }
        public string SL_Notes { get; set; }
        public Nullable<int> SL_CreatedBy { get; set; }
        public Nullable<System.DateTime> SL_CreatedOn { get; set; }
        public byte[] SL_Photo { get; set; }
        public Nullable<bool> SL_Inactive { get; set; }
        public Nullable<int> SL_ID2 { get; set; }
        public virtual Country Country { get; set; }
        public virtual ICollection<Cust> Custs { get; set; }
        public virtual Name Name { get; set; }
        public virtual ICollection<P> Ps { get; set; }
    }
}
